local points = {
    ['龙卵领主'] = 100,
    ['半人马领主'] = 100,
    ['灾祸树人'] = 100,
}

ac.allowEvents['击败天赋Boss'] = true
ac.game:event '玩家-击败天赋Boss'(function(_,player,name)
    local point = points[name]
    if player:get_data(name) or ac.hard==nil then
        return
    end
    if point==nil then
        return
    end
    player:set_data(name,true)
    player:add('累计天赋点',point)
end)


ac.allowEvents['获取天赋点'] = true
ac.game:event '玩家-获取天赋点'(function(_,player)
    player:sendWar3('获取天赋点',player:get('累计天赋点',0))
end)

ac.game:event '玩家-初始化数据'(function(_,player)
    player:notify('玩家-获取天赋点',player)
end)